package com.jian.service;

import com.jian.pojo.User;

/**
 * @author Jiange
 * @create 2021-04-06-20:51
 */
public interface UserService {

    public void regiest(User user) throws Exception ;

    public User login(User user) throws Exception ;

    /**
     *
     * @param username
     * @return 返回true表示存在
     * @throws Exception
     */
    public boolean existsUsername(String username) throws Exception;

}
